package com.cskaoyan.service.admin;

import com.cskaoyan.bean.BaseParamBo;
import com.cskaoyan.bean.BaseRespData;
import com.cskaoyan.bean.admin.goods.bo.CreateBo;
import com.cskaoyan.bean.admin.goods.bo.UpadateBo;
import com.cskaoyan.bean.admin.goods.vo.CatAndBrandVo;
import com.cskaoyan.bean.admin.goods.vo.GoodsDetailVo;
import com.cskaoyan.bean.pojo.Goods;

public interface GoodsService {

    BaseRespData query(String goodsSn, String name, BaseParamBo baseParamBo);

    void delete(Goods good);

    GoodsDetailVo getDetail(Integer id);

    CatAndBrandVo catAndBrand();

    void update(UpadateBo bo);

    void create(CreateBo bo);
}
